﻿//-----------------------------------------------------------------
//
// @(#)$Id: CustomLable.aspx.cs,v 1.0 2013/12/13 16:56:53 lichunhua Exp $
// @(#)$Author: lichunhua  $
// @(#)$Date: 2013/12/13 16:56:53 $
// @(#)$Description:
//
//
//
//                 All Rights Reserved.
//-----------------------------------------------------------------
using System;
using System.Web.UI.WebControls;
using ebay.Dal.K3DataBaseTableAdapters;

public partial class UI_Bas_CustomLable : System.Web.UI.Page
{

    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);

        //包裹类型
        T_SubMessageTableAdapter subMessageAdapter = new T_SubMessageTableAdapter();
        ddlPackageId.DataSource = subMessageAdapter.GetDataByFTypeId(10008);
        ddlPackageId.DataTextField = "FName";
        ddlPackageId.DataValueField = "FItemID";
        ddlPackageId.DataBind();
        ddlPackageId.Items.Insert(0, new ListItem("<--请选择-->", "0"));

        //发货仓库
        T_StockTableAdapter stockAdapter = new T_StockTableAdapter();
        ddlWh_Code.DataSource = stockAdapter.GetData();
        ddlWh_Code.DataTextField = "FName";
        ddlWh_Code.DataValueField = "FItemId";
        ddlWh_Code.DataBind();
        ddlWh_Code.Items.Insert(0, new ListItem("<--请选择-->", "0"));
    }
    protected void Page_Load(object sender, EventArgs e)
    {        
        WebUtility.CheckRight();
        if(!IsPostBack )
        {
            
        }
    }   
}
